Autogenerated HTML docs for v2.46.0-rc1
diff --git a/DecisionMaking.html b/DecisionMaking.html index e17963d..7cfae9c 100644 --- a/DecisionMaking.html +++ b/DecisionMaking.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Decision-Making Process in the Git Project</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div class="sect1">
diff --git a/MyFirstContribution.html b/MyFirstContribution.html index 0f35d81..f9b966c 100644 --- a/MyFirstContribution.html +++ b/MyFirstContribution.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>My First Contribution to the Git Project</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div class="sect1">
diff --git a/MyFirstObjectWalk.html b/MyFirstObjectWalk.html index 3268484..a839d04 100644 --- a/MyFirstObjectWalk.html +++ b/MyFirstObjectWalk.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>My First Object Walk</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div class="sect1">
diff --git a/RelNotes/2.46.0.txt b/RelNotes/2.46.0.txt index d836233..80620b9 100644 --- a/RelNotes/2.46.0.txt +++ b/RelNotes/2.46.0.txt
@@ -451,3 +451,4 @@ (merge 00f3661a0a ss/doc-eol-attr-fix later to maint). (merge 428c40da61 ri/doc-show-branch-fix later to maint). (merge 58696bfcaa jc/where-is-bash-for-ci later to maint). + (merge 616e94ca24 tb/doc-max-tree-depth-fix later to maint).
diff --git a/ReviewingGuidelines.html b/ReviewingGuidelines.html index 6d85a65..ba3f61c 100644 --- a/ReviewingGuidelines.html +++ b/ReviewingGuidelines.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Reviewing Patches in the Git Project</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div class="sect1">
diff --git a/SubmittingPatches.html b/SubmittingPatches.html index 0da3384..e183f35 100644 --- a/SubmittingPatches.html +++ b/SubmittingPatches.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Submitting Patches</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div class="sect1"> @@ -1708,7 +1708,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-12 09:18:17 PDT + 2024-07-18 09:52:51 PDT </div> </div> </body>
diff --git a/ToolsForGit.html b/ToolsForGit.html index 26ec51c..ad90566 100644 --- a/ToolsForGit.html +++ b/ToolsForGit.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Tools for developing Git</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div class="sect1">
diff --git a/everyday.html b/everyday.html index 044e155..74ec62a 100644 --- a/everyday.html +++ b/everyday.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Everyday Git With 20 Commands Or So</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/git-bisect-lk2009.html b/git-bisect-lk2009.html index 23ee269..ca5db39 100644 --- a/git-bisect-lk2009.html +++ b/git-bisect-lk2009.html
@@ -737,7 +737,7 @@ <h1>Fighting regressions with git bisect</h1> <span id="author">Christian Couder</span><br /> <span id="email"><code><<a href="mailto:chriscool@tuxfamily.org">chriscool@tuxfamily.org</a>></code></span><br /> -<span id="revdate">2024-07-12</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div class="sect1">
diff --git a/git-config.html b/git-config.html index 053b957..8882558 100644 --- a/git-config.html +++ b/git-config.html
@@ -4969,7 +4969,8 @@ The maximum depth Git is willing to recurse while traversing a tree (e.g., "a/b/cde/f" has a depth of 4). This is a fail-safe to allow Git to abort cleanly, and should not generally need to - be adjusted. The default is 4096. + be adjusted. When Git is compiled with MSVC, the default is 512. + Otherwise, the default is 2048. </p> </dd> <dt class="hdlist1">
diff --git a/git-remote-helpers.html b/git-remote-helpers.html index 55466e1..7fdadb7 100644 --- a/git-remote-helpers.html +++ b/git-remote-helpers.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>git-remote-helpers</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/git-tools.html b/git-tools.html index 8a109a2..bc55c69 100644 --- a/git-tools.html +++ b/git-tools.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Git Tools</h1> -<span id="revdate">2024-07-12</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/gitglossary.html b/gitglossary.html index b39a491..5a6a1e7 100644 --- a/gitglossary.html +++ b/gitglossary.html
@@ -1684,7 +1684,7 @@ </dt> <dd> <p> - A name that that points to an <a href="#def_object_name">object name</a> or + A name that points to an <a href="#def_object_name">object name</a> or another ref (the latter is called a <a href="#def_symref">symbolic ref</a>). For convenience, a ref can sometimes be abbreviated when used as an argument to a Git command; see <a href="gitrevisions.html">gitrevisions(7)</a>
diff --git a/gitpacking.html b/gitpacking.html index cf0bab4..a067604 100644 --- a/gitpacking.html +++ b/gitpacking.html
@@ -1015,39 +1015,39 @@ <div class="paragraph"><p>Suppose that you have a repository with a large number of references, and you want a bare-bones configuration of pseudo-merge bitmaps that will enhance bitmap coverage of the <code>refs/</code> namespace. You may start -wiht a configuration like so:</p></div> -<div class="literalblock"> +with a configuration like so:</p></div> +<div class="listingblock"> <div class="content"> <pre><code>[bitmapPseudoMerge "all"] - pattern = "refs/" - threshold = now - stableThreshold = never - sampleRate = 100 - maxMerges = 64</code></pre> + pattern = "refs/" + threshold = now + stableThreshold = never + sampleRate = 100 + maxMerges = 64</code></pre> </div></div> <div class="paragraph"><p>This will create pseudo-merge bitmaps for all references, regardless of their age, and group them into 64 pseudo-merge commits.</p></div> <div class="paragraph"><p>If you wanted to separate tags from branches when generating pseudo-merge commits, you would instead define the pattern with a capture group, like so:</p></div> -<div class="literalblock"> +<div class="listingblock"> <div class="content"> <pre><code>[bitmapPseudoMerge "all"] - pattern = "refs/(heads/tags)/"</code></pre> + pattern = "refs/(heads/tags)/"</code></pre> </div></div> <div class="paragraph"><p>Suppose instead that you are working in a fork-network repository, with each fork specified by some numeric ID, and whose refs reside in <code>refs/virtual/NNN/</code> (where <code>NNN</code> is the numeric ID corresponding to some fork) in the network. In this instance, you may instead write something like:</p></div> -<div class="literalblock"> +<div class="listingblock"> <div class="content"> <pre><code>[bitmapPseudoMerge "all"] - pattern = "refs/virtual/([0-9]+)/(heads|tags)/" - threshold = now - stableThreshold = never - sampleRate = 100 - maxMerges = 64</code></pre> + pattern = "refs/virtual/([0-9]+)/(heads|tags)/" + threshold = now + stableThreshold = never + sampleRate = 100 + maxMerges = 64</code></pre> </div></div> <div class="paragraph"><p>Which would generate pseudo-merge group identifiers like "1234-heads", and "5678-tags" (for branches in fork "1234", and tags in remote "5678", @@ -1073,7 +1073,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-06-24 17:32:59 PDT + 2024-07-18 09:52:44 PDT </div> </div> </body>
diff --git a/gitpacking.txt b/gitpacking.txt index 4a6fcba..321154d 100644 --- a/gitpacking.txt +++ b/gitpacking.txt
@@ -143,14 +143,16 @@ Suppose that you have a repository with a large number of references, and you want a bare-bones configuration of pseudo-merge bitmaps that will enhance bitmap coverage of the `refs/` namespace. You may start -wiht a configuration like so: +with a configuration like so: - [bitmapPseudoMerge "all"] +---- +[bitmapPseudoMerge "all"] pattern = "refs/" threshold = now stableThreshold = never sampleRate = 100 maxMerges = 64 +---- This will create pseudo-merge bitmaps for all references, regardless of their age, and group them into 64 pseudo-merge commits. @@ -159,8 +161,10 @@ pseudo-merge commits, you would instead define the pattern with a capture group, like so: - [bitmapPseudoMerge "all"] +---- +[bitmapPseudoMerge "all"] pattern = "refs/(heads/tags)/" +---- Suppose instead that you are working in a fork-network repository, with each fork specified by some numeric ID, and whose refs reside in @@ -168,12 +172,14 @@ fork) in the network. In this instance, you may instead write something like: - [bitmapPseudoMerge "all"] +---- +[bitmapPseudoMerge "all"] pattern = "refs/virtual/([0-9]+)/(heads|tags)/" threshold = now stableThreshold = never sampleRate = 100 maxMerges = 64 +---- Which would generate pseudo-merge group identifiers like "1234-heads", and "5678-tags" (for branches in fork "1234", and tags in remote "5678",
diff --git a/glossary-content.txt b/glossary-content.txt index 30b394a..42afe04 100644 --- a/glossary-content.txt +++ b/glossary-content.txt
@@ -550,7 +550,7 @@ to the result. [[def_ref]]ref:: - A name that that points to an <<def_object_name,object name>> or + A name that points to an <<def_object_name,object name>> or another ref (the latter is called a <<def_symref,symbolic ref>>). For convenience, a ref can sometimes be abbreviated when used as an argument to a Git command; see linkgit:gitrevisions[7]
diff --git a/howto-index.html b/howto-index.html index 28b9eac..07587b5 100644 --- a/howto-index.html +++ b/howto-index.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Git Howto Index</h1> -<span id="revdate">2024-07-12</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble"> @@ -896,7 +896,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-12 09:18:14 PDT + 2024-07-18 09:52:49 PDT </div> </div> </body>
diff --git a/howto/coordinate-embargoed-releases.html b/howto/coordinate-embargoed-releases.html index 786a501..b88e0cf 100644 --- a/howto/coordinate-embargoed-releases.html +++ b/howto/coordinate-embargoed-releases.html
@@ -1038,7 +1038,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-17 13:35:44 PDT + 2024-07-18 09:52:51 PDT </div> </div> </body>
diff --git a/howto/keep-canonical-history-correct.html b/howto/keep-canonical-history-correct.html index 8d6415f..a198b5b 100644 --- a/howto/keep-canonical-history-correct.html +++ b/howto/keep-canonical-history-correct.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Keep authoritative canonical history correct with git pull</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble"> @@ -939,7 +939,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-17 13:35:44 PDT + 2024-07-18 09:52:50 PDT </div> </div> </body>
diff --git a/howto/maintain-git.html b/howto/maintain-git.html index c9fe55e..959c41e 100644 --- a/howto/maintain-git.html +++ b/howto/maintain-git.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>How to maintain Git</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div class="sect1"> @@ -1479,7 +1479,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-17 13:35:44 PDT + 2024-07-18 09:52:51 PDT </div> </div> </body>
diff --git a/howto/new-command.html b/howto/new-command.html index 938984e..81f2eea 100644 --- a/howto/new-command.html +++ b/howto/new-command.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>How to integrate new subcommands</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble"> @@ -864,7 +864,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-17 13:35:43 PDT + 2024-07-18 09:52:49 PDT </div> </div> </body>
diff --git a/howto/rebase-from-internal-branch.html b/howto/rebase-from-internal-branch.html index 87a166e..abe4cb7 100644 --- a/howto/rebase-from-internal-branch.html +++ b/howto/rebase-from-internal-branch.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>How to rebase from an internal branch</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble"> @@ -896,7 +896,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-17 13:35:44 PDT + 2024-07-18 09:52:50 PDT </div> </div> </body>
diff --git a/howto/rebuild-from-update-hook.html b/howto/rebuild-from-update-hook.html index a8457c1..1a1a614 100644 --- a/howto/rebuild-from-update-hook.html +++ b/howto/rebuild-from-update-hook.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>How to rebuild from update hook</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble"> @@ -848,7 +848,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-17 13:35:44 PDT + 2024-07-18 09:52:50 PDT </div> </div> </body>
diff --git a/howto/recover-corrupted-blob-object.html b/howto/recover-corrupted-blob-object.html index 24fc0e9..8cc65a8 100644 --- a/howto/recover-corrupted-blob-object.html +++ b/howto/recover-corrupted-blob-object.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>How to recover a corrupted blob object</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble"> @@ -881,7 +881,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-17 13:35:44 PDT + 2024-07-18 09:52:50 PDT </div> </div> </body>
diff --git a/howto/recover-corrupted-object-harder.html b/howto/recover-corrupted-object-harder.html index cebdfca..54fd9b8 100644 --- a/howto/recover-corrupted-object-harder.html +++ b/howto/recover-corrupted-object-harder.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>How to recover an object from scratch</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble"> @@ -1190,7 +1190,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-17 13:35:44 PDT + 2024-07-18 09:52:50 PDT </div> </div> </body>
diff --git a/howto/revert-a-faulty-merge.html b/howto/revert-a-faulty-merge.html index c73dbdd..fade877 100644 --- a/howto/revert-a-faulty-merge.html +++ b/howto/revert-a-faulty-merge.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>How to revert a faulty merge</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble"> @@ -1026,7 +1026,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-17 13:35:44 PDT + 2024-07-18 09:52:50 PDT </div> </div> </body>
diff --git a/howto/revert-branch-rebase.html b/howto/revert-branch-rebase.html index 5153a9a..5a97039 100644 --- a/howto/revert-branch-rebase.html +++ b/howto/revert-branch-rebase.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>How to revert an existing commit</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble"> @@ -908,7 +908,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-17 13:35:43 PDT + 2024-07-18 09:52:49 PDT </div> </div> </body>
diff --git a/howto/separating-topic-branches.html b/howto/separating-topic-branches.html index 2c0c553..b91ffc1 100644 --- a/howto/separating-topic-branches.html +++ b/howto/separating-topic-branches.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>How to separate topic branches</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble"> @@ -842,7 +842,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-17 13:35:44 PDT + 2024-07-18 09:52:50 PDT </div> </div> </body>
diff --git a/howto/setup-git-server-over-http.html b/howto/setup-git-server-over-http.html index 5ff2cb6..bda01f5 100644 --- a/howto/setup-git-server-over-http.html +++ b/howto/setup-git-server-over-http.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>How to setup Git server over http</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble"> @@ -1072,7 +1072,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-17 13:35:43 PDT + 2024-07-18 09:52:50 PDT </div> </div> </body>
diff --git a/howto/update-hook-example.html b/howto/update-hook-example.html index 8332907..233cd45 100644 --- a/howto/update-hook-example.html +++ b/howto/update-hook-example.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>How to use the update hook</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble"> @@ -931,7 +931,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-17 13:35:43 PDT + 2024-07-18 09:52:50 PDT </div> </div> </body>
diff --git a/howto/use-git-daemon.html b/howto/use-git-daemon.html index 5537edc..70155c4 100644 --- a/howto/use-git-daemon.html +++ b/howto/use-git-daemon.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>How to use git-daemon</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble"> @@ -792,7 +792,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-17 13:35:43 PDT + 2024-07-18 09:52:50 PDT </div> </div> </body>
diff --git a/howto/using-merge-subtree.html b/howto/using-merge-subtree.html index b1d5070..ab14a66 100644 --- a/howto/using-merge-subtree.html +++ b/howto/using-merge-subtree.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>How to use the subtree merge strategy</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble"> @@ -849,7 +849,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-17 13:35:43 PDT + 2024-07-18 09:52:49 PDT </div> </div> </body>
diff --git a/howto/using-signed-tag-in-pull-request.html b/howto/using-signed-tag-in-pull-request.html index c16a290..1301474 100644 --- a/howto/using-signed-tag-in-pull-request.html +++ b/howto/using-signed-tag-in-pull-request.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>How to use a signed tag in pull requests</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble"> @@ -953,7 +953,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-17 13:35:43 PDT + 2024-07-18 09:52:50 PDT </div> </div> </body>
diff --git a/technical/api-error-handling.html b/technical/api-error-handling.html index 4ea90b8..45bf0bc 100644 --- a/technical/api-error-handling.html +++ b/technical/api-error-handling.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Error reporting in git</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/technical/api-index.html b/technical/api-index.html index d1538fa..471017c 100644 --- a/technical/api-index.html +++ b/technical/api-index.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Git API Documents</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble"> @@ -776,7 +776,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2024-07-12 09:18:18 PDT + 2024-07-18 09:52:53 PDT </div> </div> </body>
diff --git a/technical/api-merge.html b/technical/api-merge.html index c4ebd3f..204fad3 100644 --- a/technical/api-merge.html +++ b/technical/api-merge.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>merge API</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/technical/api-parse-options.html b/technical/api-parse-options.html index e36621e..2277ab0 100644 --- a/technical/api-parse-options.html +++ b/technical/api-parse-options.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>parse-options API</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/technical/api-simple-ipc.html b/technical/api-simple-ipc.html index ab47860..0b4ac41 100644 --- a/technical/api-simple-ipc.html +++ b/technical/api-simple-ipc.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Simple-IPC API</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/technical/api-trace2.html b/technical/api-trace2.html index 2caeed5..e9ef78f 100644 --- a/technical/api-trace2.html +++ b/technical/api-trace2.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Trace2 API</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/technical/bitmap-format.html b/technical/bitmap-format.html index 3e6ac99..d68efa8 100644 --- a/technical/bitmap-format.html +++ b/technical/bitmap-format.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>GIT bitmap v1 format</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div class="sect1">
diff --git a/technical/bundle-uri.html b/technical/bundle-uri.html index 19dc4eb..e38c796 100644 --- a/technical/bundle-uri.html +++ b/technical/bundle-uri.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Bundle URIs</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/technical/hash-function-transition.html b/technical/hash-function-transition.html index 2f091d0..049bd3a 100644 --- a/technical/hash-function-transition.html +++ b/technical/hash-function-transition.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Git hash function transition</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div class="sect1">
diff --git a/technical/long-running-process-protocol.html b/technical/long-running-process-protocol.html index be0413c..39053f6 100644 --- a/technical/long-running-process-protocol.html +++ b/technical/long-running-process-protocol.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Long-running process protocol</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/technical/multi-pack-index.html b/technical/multi-pack-index.html index bbdb748..1c0296c 100644 --- a/technical/multi-pack-index.html +++ b/technical/multi-pack-index.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Multi-Pack-Index (MIDX) Design Notes</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/technical/pack-heuristics.html b/technical/pack-heuristics.html index 0ac3672..4fbb0cd 100644 --- a/technical/pack-heuristics.html +++ b/technical/pack-heuristics.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Concerning Git’s Packing Heuristics</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/technical/parallel-checkout.html b/technical/parallel-checkout.html index 4c74f05..80fdd20 100644 --- a/technical/parallel-checkout.html +++ b/technical/parallel-checkout.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Parallel Checkout Design Notes</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/technical/partial-clone.html b/technical/partial-clone.html index 3c11479..697495a 100644 --- a/technical/partial-clone.html +++ b/technical/partial-clone.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Partial Clone Design Notes</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/technical/racy-git.html b/technical/racy-git.html index 97d51c9..de6d4c1 100644 --- a/technical/racy-git.html +++ b/technical/racy-git.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Use of index and Racy Git problem</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div class="sect1">
diff --git a/technical/scalar.html b/technical/scalar.html index 03377ae..4affcdd 100644 --- a/technical/scalar.html +++ b/technical/scalar.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Scalar</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/technical/send-pack-pipeline.html b/technical/send-pack-pipeline.html index 5ca7408..5bce026 100644 --- a/technical/send-pack-pipeline.html +++ b/technical/send-pack-pipeline.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Git-send-pack internals</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div class="sect1">
diff --git a/technical/shallow.html b/technical/shallow.html index 55cf6fa..89aebaf 100644 --- a/technical/shallow.html +++ b/technical/shallow.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Shallow commits</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/technical/trivial-merge.html b/technical/trivial-merge.html index 4307660..f3842e6 100644 --- a/technical/trivial-merge.html +++ b/technical/trivial-merge.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Trivial merge rules</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/technical/unit-tests.html b/technical/unit-tests.html index f595c5f..6d6ed9e 100644 --- a/technical/unit-tests.html +++ b/technical/unit-tests.html
@@ -735,7 +735,7 @@ <body class="article"> <div id="header"> <h1>Unit Testing</h1> -<span id="revdate">2024-07-17</span> +<span id="revdate">2024-07-18</span> </div> <div id="content"> <div id="preamble">
diff --git a/user-manual.html b/user-manual.html index 3219499..2428ea8 100644 --- a/user-manual.html +++ b/user-manual.html
@@ -1,5 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Git User Manual</title><link rel="stylesheet" type="text/css" href="docbook-xsl.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div lang="en" class="book"><div class="titlepage"><div><div><h1 class="title"><a name="id-1"></a>Git User Manual</h1></div><div><div class="revhistory"><table style="border-style:solid; width:100%;" summary="Revision History"><tr><th align="left" valign="top" colspan="2"><b>Revision History</b></th></tr><tr><td align="left"></td><td align="left">2024-07-17</td></tr></table></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="preface"><a href="#_introduction">Introduction</a></span></dt><dt><span class="chapter"><a href="#repositories-and-branches">1. Repositories and Branches</a></span></dt><dd><dl><dt><span class="section"><a href="#how-to-get-a-git-repository">How to get a Git repository</a></span></dt><dt><span class="section"><a href="#how-to-check-out">How to check out a different version of a project</a></span></dt><dt><span class="section"><a href="#understanding-commits">Understanding History: Commits</a></span></dt><dd><dl><dt><span class="section"><a href="#understanding-reachability">Understanding history: commits, parents, and reachability</a></span></dt><dt><span class="section"><a href="#history-diagrams">Understanding history: History diagrams</a></span></dt><dt><span class="section"><a href="#what-is-a-branch">Understanding history: What is a branch?</a></span></dt></dl></dd><dt><span class="section"><a href="#manipulating-branches">Manipulating branches</a></span></dt><dt><span class="section"><a href="#detached-head">Examining an old version without creating a new branch</a></span></dt><dt><span class="section"><a href="#examining-remote-branches">Examining branches from a remote repository</a></span></dt><dt><span class="section"><a href="#how-git-stores-references">Naming branches, tags, and other references</a></span></dt><dt><span class="section"><a href="#Updating-a-repository-With-git-fetch">Updating a repository with git fetch</a></span></dt><dt><span class="section"><a href="#fetching-branches">Fetching branches from other repositories</a></span></dt></dl></dd><dt><span class="chapter"><a href="#exploring-git-history">2. Exploring Git history</a></span></dt><dd><dl><dt><span class="section"><a href="#using-bisect">How to use bisect to find a regression</a></span></dt><dt><span class="section"><a href="#naming-commits">Naming commits</a></span></dt><dt><span class="section"><a href="#creating-tags">Creating tags</a></span></dt><dt><span class="section"><a href="#browsing-revisions">Browsing revisions</a></span></dt><dt><span class="section"><a href="#generating-diffs">Generating diffs</a></span></dt><dt><span class="section"><a href="#viewing-old-file-versions">Viewing old file versions</a></span></dt><dt><span class="section"><a href="#history-examples">Examples</a></span></dt><dd><dl><dt><span class="section"><a href="#counting-commits-on-a-branch">Counting the number of commits on a branch</a></span></dt><dt><span class="section"><a href="#checking-for-equal-branches">Check whether two branches point at the same history</a></span></dt><dt><span class="section"><a href="#finding-tagged-descendants">Find first tagged version including a given fix</a></span></dt><dt><span class="section"><a href="#showing-commits-unique-to-a-branch">Showing commits unique to a given branch</a></span></dt><dt><span class="section"><a href="#making-a-release">Creating a changelog and tarball for a software release</a></span></dt><dt><span class="section"><a href="#Finding-commits-With-given-Content">Finding commits referencing a file with given content</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#Developing-With-git">3. Developing with Git</a></span></dt><dd><dl><dt><span class="section"><a href="#telling-git-your-name">Telling Git your name</a></span></dt><dt><span class="section"><a href="#creating-a-new-repository">Creating a new repository</a></span></dt><dt><span class="section"><a href="#how-to-make-a-commit">How to make a commit</a></span></dt><dt><span class="section"><a href="#creating-good-commit-messages">Creating good commit messages</a></span></dt><dt><span class="section"><a href="#ignoring-files">Ignoring files</a></span></dt><dt><span class="section"><a href="#how-to-merge">How to merge</a></span></dt><dt><span class="section"><a href="#resolving-a-merge">Resolving a merge</a></span></dt><dd><dl><dt><span class="section"><a href="#conflict-resolution">Getting conflict-resolution help during a merge</a></span></dt></dl></dd><dt><span class="section"><a href="#undoing-a-merge">Undoing a merge</a></span></dt><dt><span class="section"><a href="#fast-forwards">Fast-forward merges</a></span></dt><dt><span class="section"><a href="#fixing-mistakes">Fixing mistakes</a></span></dt><dd><dl><dt><span class="section"><a href="#reverting-a-commit">Fixing a mistake with a new commit</a></span></dt><dt><span class="section"><a href="#fixing-a-mistake-by-rewriting-history">Fixing a mistake by rewriting history</a></span></dt><dt><span class="section"><a href="#checkout-of-path">Checking out an old version of a file</a></span></dt><dt><span class="section"><a href="#interrupted-work">Temporarily setting aside work in progress</a></span></dt></dl></dd><dt><span class="section"><a href="#ensuring-good-performance">Ensuring good performance</a></span></dt><dt><span class="section"><a href="#ensuring-reliability">Ensuring reliability</a></span></dt><dd><dl><dt><span class="section"><a href="#checking-for-corruption">Checking the repository for corruption</a></span></dt><dt><span class="section"><a href="#recovering-lost-changes">Recovering lost changes</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#sharing-development">4. Sharing development with others</a></span></dt><dd><dl><dt><span class="section"><a href="#getting-updates-With-git-pull">Getting updates with git pull</a></span></dt><dt><span class="section"><a href="#submitting-patches">Submitting patches to a project</a></span></dt><dt><span class="section"><a href="#importing-patches">Importing patches to a project</a></span></dt><dt><span class="section"><a href="#public-repositories">Public Git repositories</a></span></dt><dd><dl><dt><span class="section"><a href="#setting-up-a-public-repository">Setting up a public repository</a></span></dt><dt><span class="section"><a href="#exporting-via-git">Exporting a Git repository via the Git protocol</a></span></dt><dt><span class="section"><a href="#exporting-via-http">Exporting a git repository via HTTP</a></span></dt><dt><span class="section"><a href="#pushing-changes-to-a-public-repository">Pushing changes to a public repository</a></span></dt><dt><span class="section"><a href="#forcing-push">What to do when a push fails</a></span></dt><dt><span class="section"><a href="#setting-up-a-shared-repository">Setting up a shared repository</a></span></dt><dt><span class="section"><a href="#setting-up-gitweb">Allowing web browsing of a repository</a></span></dt></dl></dd><dt><span class="section"><a href="#how-to-get-a-git-repository-with-minimal-history">How to get a Git repository with minimal history</a></span></dt><dt><span class="section"><a href="#sharing-development-examples">Examples</a></span></dt><dd><dl><dt><span class="section"><a href="#maintaining-topic-branches">Maintaining topic branches for a Linux subsystem maintainer</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#cleaning-up-history">5. Rewriting history and maintaining patch series</a></span></dt><dd><dl><dt><span class="section"><a href="#patch-series">Creating the perfect patch series</a></span></dt><dt><span class="section"><a href="#using-git-rebase">Keeping a patch series up to date using git rebase</a></span></dt><dt><span class="section"><a href="#rewriting-one-commit">Rewriting a single commit</a></span></dt><dt><span class="section"><a href="#reordering-patch-series">Reordering or selecting from a patch series</a></span></dt><dt><span class="section"><a href="#interactive-rebase">Using interactive rebases</a></span></dt><dt><span class="section"><a href="#patch-series-tools">Other tools</a></span></dt><dt><span class="section"><a href="#problems-With-rewriting-history">Problems with rewriting history</a></span></dt><dt><span class="section"><a href="#bisect-merges">Why bisecting merge commits can be harder than bisecting linear history</a></span></dt></dl></dd><dt><span class="chapter"><a href="#advanced-branch-management">6. Advanced branch management</a></span></dt><dd><dl><dt><span class="section"><a href="#fetching-individual-branches">Fetching individual branches</a></span></dt><dt><span class="section"><a href="#fetch-fast-forwards">git fetch and fast-forwards</a></span></dt><dt><span class="section"><a href="#forcing-fetch">Forcing git fetch to do non-fast-forward updates</a></span></dt><dt><span class="section"><a href="#remote-branch-configuration">Configuring remote-tracking branches</a></span></dt></dl></dd><dt><span class="chapter"><a href="#git-concepts">7. Git concepts</a></span></dt><dd><dl><dt><span class="section"><a href="#the-object-database">The Object Database</a></span></dt><dd><dl><dt><span class="section"><a href="#commit-object">Commit Object</a></span></dt><dt><span class="section"><a href="#tree-object">Tree Object</a></span></dt><dt><span class="section"><a href="#blob-object">Blob Object</a></span></dt><dt><span class="section"><a href="#trust">Trust</a></span></dt><dt><span class="section"><a href="#tag-object">Tag Object</a></span></dt><dt><span class="section"><a href="#pack-files">How Git stores objects efficiently: pack files</a></span></dt><dt><span class="section"><a href="#dangling-objects">Dangling objects</a></span></dt><dt><span class="section"><a href="#recovering-from-repository-corruption">Recovering from repository corruption</a></span></dt></dl></dd><dt><span class="section"><a href="#the-index">The index</a></span></dt></dl></dd><dt><span class="chapter"><a href="#submodules">8. Submodules</a></span></dt><dd><dl><dt><span class="section"><a href="#pitfalls-with-submodules">Pitfalls with submodules</a></span></dt></dl></dd><dt><span class="chapter"><a href="#low-level-operations">9. Low-level Git operations</a></span></dt><dd><dl><dt><span class="section"><a href="#object-manipulation">Object access and manipulation</a></span></dt><dt><span class="section"><a href="#the-workflow">The Workflow</a></span></dt><dd><dl><dt><span class="section"><a href="#working-directory-to-index">working directory → index</a></span></dt><dt><span class="section"><a href="#index-to-object-database">index → object database</a></span></dt><dt><span class="section"><a href="#object-database-to-index">object database → index</a></span></dt><dt><span class="section"><a href="#index-to-working-directory">index → working directory</a></span></dt><dt><span class="section"><a href="#tying-it-all-together">Tying it all together</a></span></dt></dl></dd><dt><span class="section"><a href="#examining-the-data">Examining the data</a></span></dt><dt><span class="section"><a href="#merging-multiple-trees">Merging multiple trees</a></span></dt><dt><span class="section"><a href="#merging-multiple-trees-2">Merging multiple trees, continued</a></span></dt></dl></dd><dt><span class="chapter"><a href="#hacking-git">10. Hacking Git</a></span></dt><dd><dl><dt><span class="section"><a href="#object-details">Object storage format</a></span></dt><dt><span class="section"><a href="#birdview-on-the-source-code">A birds-eye view of Git’s source code</a></span></dt></dl></dd><dt><span class="chapter"><a href="#glossary">11. Git Glossary</a></span></dt><dd><dl><dt><span class="section"><a href="#git-explained">Git explained</a></span></dt></dl></dd><dt><span class="appendix"><a href="#git-quick-start">A. Git Quick Reference</a></span></dt><dd><dl><dt><span class="section"><a href="#quick-creating-a-new-repository">Creating a new repository</a></span></dt><dt><span class="section"><a href="#managing-branches">Managing branches</a></span></dt><dt><span class="section"><a href="#exploring-history">Exploring history</a></span></dt><dt><span class="section"><a href="#making-changes">Making changes</a></span></dt><dt><span class="section"><a href="#merging">Merging</a></span></dt><dt><span class="section"><a href="#sharing-your-changes">Sharing your changes</a></span></dt><dt><span class="section"><a href="#repository-maintenance">Repository maintenance</a></span></dt></dl></dd><dt><span class="appendix"><a href="#todo">B. Notes and todo list for this manual</a></span></dt><dd><dl><dt><span class="section"><a href="#todo-list">Todo list</a></span></dt></dl></dd></dl></div><div class="preface"><div class="titlepage"><div><div><h1 class="title"><a name="_introduction"></a>Introduction</h1></div></div></div><p>Git is a fast distributed revision control system.</p><p>This manual is designed to be readable by someone with basic UNIX +<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Git User Manual</title><link rel="stylesheet" type="text/css" href="docbook-xsl.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div lang="en" class="book"><div class="titlepage"><div><div><h1 class="title"><a name="id-1"></a>Git User Manual</h1></div><div><div class="revhistory"><table style="border-style:solid; width:100%;" summary="Revision History"><tr><th align="left" valign="top" colspan="2"><b>Revision History</b></th></tr><tr><td align="left"></td><td align="left">2024-07-18</td></tr></table></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="preface"><a href="#_introduction">Introduction</a></span></dt><dt><span class="chapter"><a href="#repositories-and-branches">1. Repositories and Branches</a></span></dt><dd><dl><dt><span class="section"><a href="#how-to-get-a-git-repository">How to get a Git repository</a></span></dt><dt><span class="section"><a href="#how-to-check-out">How to check out a different version of a project</a></span></dt><dt><span class="section"><a href="#understanding-commits">Understanding History: Commits</a></span></dt><dd><dl><dt><span class="section"><a href="#understanding-reachability">Understanding history: commits, parents, and reachability</a></span></dt><dt><span class="section"><a href="#history-diagrams">Understanding history: History diagrams</a></span></dt><dt><span class="section"><a href="#what-is-a-branch">Understanding history: What is a branch?</a></span></dt></dl></dd><dt><span class="section"><a href="#manipulating-branches">Manipulating branches</a></span></dt><dt><span class="section"><a href="#detached-head">Examining an old version without creating a new branch</a></span></dt><dt><span class="section"><a href="#examining-remote-branches">Examining branches from a remote repository</a></span></dt><dt><span class="section"><a href="#how-git-stores-references">Naming branches, tags, and other references</a></span></dt><dt><span class="section"><a href="#Updating-a-repository-With-git-fetch">Updating a repository with git fetch</a></span></dt><dt><span class="section"><a href="#fetching-branches">Fetching branches from other repositories</a></span></dt></dl></dd><dt><span class="chapter"><a href="#exploring-git-history">2. Exploring Git history</a></span></dt><dd><dl><dt><span class="section"><a href="#using-bisect">How to use bisect to find a regression</a></span></dt><dt><span class="section"><a href="#naming-commits">Naming commits</a></span></dt><dt><span class="section"><a href="#creating-tags">Creating tags</a></span></dt><dt><span class="section"><a href="#browsing-revisions">Browsing revisions</a></span></dt><dt><span class="section"><a href="#generating-diffs">Generating diffs</a></span></dt><dt><span class="section"><a href="#viewing-old-file-versions">Viewing old file versions</a></span></dt><dt><span class="section"><a href="#history-examples">Examples</a></span></dt><dd><dl><dt><span class="section"><a href="#counting-commits-on-a-branch">Counting the number of commits on a branch</a></span></dt><dt><span class="section"><a href="#checking-for-equal-branches">Check whether two branches point at the same history</a></span></dt><dt><span class="section"><a href="#finding-tagged-descendants">Find first tagged version including a given fix</a></span></dt><dt><span class="section"><a href="#showing-commits-unique-to-a-branch">Showing commits unique to a given branch</a></span></dt><dt><span class="section"><a href="#making-a-release">Creating a changelog and tarball for a software release</a></span></dt><dt><span class="section"><a href="#Finding-commits-With-given-Content">Finding commits referencing a file with given content</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#Developing-With-git">3. Developing with Git</a></span></dt><dd><dl><dt><span class="section"><a href="#telling-git-your-name">Telling Git your name</a></span></dt><dt><span class="section"><a href="#creating-a-new-repository">Creating a new repository</a></span></dt><dt><span class="section"><a href="#how-to-make-a-commit">How to make a commit</a></span></dt><dt><span class="section"><a href="#creating-good-commit-messages">Creating good commit messages</a></span></dt><dt><span class="section"><a href="#ignoring-files">Ignoring files</a></span></dt><dt><span class="section"><a href="#how-to-merge">How to merge</a></span></dt><dt><span class="section"><a href="#resolving-a-merge">Resolving a merge</a></span></dt><dd><dl><dt><span class="section"><a href="#conflict-resolution">Getting conflict-resolution help during a merge</a></span></dt></dl></dd><dt><span class="section"><a href="#undoing-a-merge">Undoing a merge</a></span></dt><dt><span class="section"><a href="#fast-forwards">Fast-forward merges</a></span></dt><dt><span class="section"><a href="#fixing-mistakes">Fixing mistakes</a></span></dt><dd><dl><dt><span class="section"><a href="#reverting-a-commit">Fixing a mistake with a new commit</a></span></dt><dt><span class="section"><a href="#fixing-a-mistake-by-rewriting-history">Fixing a mistake by rewriting history</a></span></dt><dt><span class="section"><a href="#checkout-of-path">Checking out an old version of a file</a></span></dt><dt><span class="section"><a href="#interrupted-work">Temporarily setting aside work in progress</a></span></dt></dl></dd><dt><span class="section"><a href="#ensuring-good-performance">Ensuring good performance</a></span></dt><dt><span class="section"><a href="#ensuring-reliability">Ensuring reliability</a></span></dt><dd><dl><dt><span class="section"><a href="#checking-for-corruption">Checking the repository for corruption</a></span></dt><dt><span class="section"><a href="#recovering-lost-changes">Recovering lost changes</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#sharing-development">4. Sharing development with others</a></span></dt><dd><dl><dt><span class="section"><a href="#getting-updates-With-git-pull">Getting updates with git pull</a></span></dt><dt><span class="section"><a href="#submitting-patches">Submitting patches to a project</a></span></dt><dt><span class="section"><a href="#importing-patches">Importing patches to a project</a></span></dt><dt><span class="section"><a href="#public-repositories">Public Git repositories</a></span></dt><dd><dl><dt><span class="section"><a href="#setting-up-a-public-repository">Setting up a public repository</a></span></dt><dt><span class="section"><a href="#exporting-via-git">Exporting a Git repository via the Git protocol</a></span></dt><dt><span class="section"><a href="#exporting-via-http">Exporting a git repository via HTTP</a></span></dt><dt><span class="section"><a href="#pushing-changes-to-a-public-repository">Pushing changes to a public repository</a></span></dt><dt><span class="section"><a href="#forcing-push">What to do when a push fails</a></span></dt><dt><span class="section"><a href="#setting-up-a-shared-repository">Setting up a shared repository</a></span></dt><dt><span class="section"><a href="#setting-up-gitweb">Allowing web browsing of a repository</a></span></dt></dl></dd><dt><span class="section"><a href="#how-to-get-a-git-repository-with-minimal-history">How to get a Git repository with minimal history</a></span></dt><dt><span class="section"><a href="#sharing-development-examples">Examples</a></span></dt><dd><dl><dt><span class="section"><a href="#maintaining-topic-branches">Maintaining topic branches for a Linux subsystem maintainer</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#cleaning-up-history">5. Rewriting history and maintaining patch series</a></span></dt><dd><dl><dt><span class="section"><a href="#patch-series">Creating the perfect patch series</a></span></dt><dt><span class="section"><a href="#using-git-rebase">Keeping a patch series up to date using git rebase</a></span></dt><dt><span class="section"><a href="#rewriting-one-commit">Rewriting a single commit</a></span></dt><dt><span class="section"><a href="#reordering-patch-series">Reordering or selecting from a patch series</a></span></dt><dt><span class="section"><a href="#interactive-rebase">Using interactive rebases</a></span></dt><dt><span class="section"><a href="#patch-series-tools">Other tools</a></span></dt><dt><span class="section"><a href="#problems-With-rewriting-history">Problems with rewriting history</a></span></dt><dt><span class="section"><a href="#bisect-merges">Why bisecting merge commits can be harder than bisecting linear history</a></span></dt></dl></dd><dt><span class="chapter"><a href="#advanced-branch-management">6. Advanced branch management</a></span></dt><dd><dl><dt><span class="section"><a href="#fetching-individual-branches">Fetching individual branches</a></span></dt><dt><span class="section"><a href="#fetch-fast-forwards">git fetch and fast-forwards</a></span></dt><dt><span class="section"><a href="#forcing-fetch">Forcing git fetch to do non-fast-forward updates</a></span></dt><dt><span class="section"><a href="#remote-branch-configuration">Configuring remote-tracking branches</a></span></dt></dl></dd><dt><span class="chapter"><a href="#git-concepts">7. Git concepts</a></span></dt><dd><dl><dt><span class="section"><a href="#the-object-database">The Object Database</a></span></dt><dd><dl><dt><span class="section"><a href="#commit-object">Commit Object</a></span></dt><dt><span class="section"><a href="#tree-object">Tree Object</a></span></dt><dt><span class="section"><a href="#blob-object">Blob Object</a></span></dt><dt><span class="section"><a href="#trust">Trust</a></span></dt><dt><span class="section"><a href="#tag-object">Tag Object</a></span></dt><dt><span class="section"><a href="#pack-files">How Git stores objects efficiently: pack files</a></span></dt><dt><span class="section"><a href="#dangling-objects">Dangling objects</a></span></dt><dt><span class="section"><a href="#recovering-from-repository-corruption">Recovering from repository corruption</a></span></dt></dl></dd><dt><span class="section"><a href="#the-index">The index</a></span></dt></dl></dd><dt><span class="chapter"><a href="#submodules">8. Submodules</a></span></dt><dd><dl><dt><span class="section"><a href="#pitfalls-with-submodules">Pitfalls with submodules</a></span></dt></dl></dd><dt><span class="chapter"><a href="#low-level-operations">9. Low-level Git operations</a></span></dt><dd><dl><dt><span class="section"><a href="#object-manipulation">Object access and manipulation</a></span></dt><dt><span class="section"><a href="#the-workflow">The Workflow</a></span></dt><dd><dl><dt><span class="section"><a href="#working-directory-to-index">working directory → index</a></span></dt><dt><span class="section"><a href="#index-to-object-database">index → object database</a></span></dt><dt><span class="section"><a href="#object-database-to-index">object database → index</a></span></dt><dt><span class="section"><a href="#index-to-working-directory">index → working directory</a></span></dt><dt><span class="section"><a href="#tying-it-all-together">Tying it all together</a></span></dt></dl></dd><dt><span class="section"><a href="#examining-the-data">Examining the data</a></span></dt><dt><span class="section"><a href="#merging-multiple-trees">Merging multiple trees</a></span></dt><dt><span class="section"><a href="#merging-multiple-trees-2">Merging multiple trees, continued</a></span></dt></dl></dd><dt><span class="chapter"><a href="#hacking-git">10. Hacking Git</a></span></dt><dd><dl><dt><span class="section"><a href="#object-details">Object storage format</a></span></dt><dt><span class="section"><a href="#birdview-on-the-source-code">A birds-eye view of Git’s source code</a></span></dt></dl></dd><dt><span class="chapter"><a href="#glossary">11. Git Glossary</a></span></dt><dd><dl><dt><span class="section"><a href="#git-explained">Git explained</a></span></dt></dl></dd><dt><span class="appendix"><a href="#git-quick-start">A. Git Quick Reference</a></span></dt><dd><dl><dt><span class="section"><a href="#quick-creating-a-new-repository">Creating a new repository</a></span></dt><dt><span class="section"><a href="#managing-branches">Managing branches</a></span></dt><dt><span class="section"><a href="#exploring-history">Exploring history</a></span></dt><dt><span class="section"><a href="#making-changes">Making changes</a></span></dt><dt><span class="section"><a href="#merging">Merging</a></span></dt><dt><span class="section"><a href="#sharing-your-changes">Sharing your changes</a></span></dt><dt><span class="section"><a href="#repository-maintenance">Repository maintenance</a></span></dt></dl></dd><dt><span class="appendix"><a href="#todo">B. Notes and todo list for this manual</a></span></dt><dd><dl><dt><span class="section"><a href="#todo-list">Todo list</a></span></dt></dl></dd></dl></div><div class="preface"><div class="titlepage"><div><div><h1 class="title"><a name="_introduction"></a>Introduction</h1></div></div></div><p>Git is a fast distributed revision control system.</p><p>This manual is designed to be readable by someone with basic UNIX command-line skills, but no previous knowledge of Git.</p><p><a class="xref" href="#repositories-and-branches" title="Chapter 1. Repositories and Branches">Chapter 1, <i>Repositories and Branches</i></a> and <a class="xref" href="#exploring-git-history" title="Chapter 2. Exploring Git history">Chapter 2, <i>Exploring Git history</i></a> explain how to fetch and study a project using git—read these chapters to learn how to build and test a particular version of a software project, search for @@ -2559,7 +2559,7 @@ </dd><dt><span class="term"> <a name="def_ref"></a>ref </span></dt><dd><p class="simpara"> - A name that that points to an <a class="link" href="#def_object_name">object name</a> or + A name that points to an <a class="link" href="#def_object_name">object name</a> or another ref (the latter is called a <a class="link" href="#def_symref">symbolic ref</a>). For convenience, a ref can sometimes be abbreviated when used as an argument to a Git command; see <a class="ulink" href="gitrevisions.html" target="_top">gitrevisions(7)</a>